<!DOCTYPE html>
<html lang="en">
<head>
    <meta  charset="utf-8" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <title>商品列表</title>
  <link rel="stylesheet" type="text/css" href="../../layui/css/layui.css">
    <link rel="stylesheet" type="text/css" href="../../css/product/product.css">
</head>
<style>
    html, body {
        margin: 0;
        height: 100%;
        width: 100%;
        overflow: hidden;
    }
</style>
<body>
<div>
    <div class="layui-row">
            <div id="d8" class="layui-col-md4">
                <div id="ptree"></div>
            </div>
            <div id="d7" class="layui-col-md8">
                <table id="ptable"  lay-filter="ptablefilter"></table>
            </div>

    <!--   弹出框的html片段，直接在body   -->
    <div id="addhtml" style="display: none">

        <form class="layui-form" action="javascript:;">
            <input type="hidden" class="layui-input" name="parentId" />
            <div class="layui-form-item">
                <label class="layui-form-label">添加子节点：</label>
                <div class="layui-input-block">
                    <input type="text" name="title" class="layui-input" required lay-verify="required" placeholder="请输入节点" />
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-submit lay-filter="addNodeform">确定</button>
                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
            </div>
        </form>

    </div>
        </div>

</div>

<script type="text/html" id="toolbarbtn">
    <button type="button" class="layui-btn layui-btn-normal layui-btn-sm" lay-event="add">添加</button>
</script>

<script type="text/html" id="tablebar">
<button type="button" id="chakan" lay-event="chakan">查看</button>
<button type="button" id="bianji" lay-event="bianji">编辑</button>
<button type="button" id="shanchu" lay-event="shanchu">删除</button>
<button type="button" id="rizhi" lay-event="rizhi">日志</button>
</script>


<script src="../../layui/layui.js"></script>
<script src="../../js/jquery-3.6.0.js"></script>
<script src="../../js/product/product.js"></script>
<script>




</script>

</body>
</html>
